{template '_header'}
<style>
    .select2{
        margin:0;
        width:100%;
        height:34px;
        border-radius: 3px;
        border-color: rgb(229, 230, 231);
    }
    .select2 .select2-choice{
        height: 34px;
        line-height: 32px;
        border-radius: 3px;
        border-color: rgb(229, 230, 231);
    }
    .select2 .select2-choice .select2-arrow{
        background: #fff;
    }
    .form-group .radio-inline{
        padding-top: 0px;;
    }
</style>
<div style="margin-top: 50px"></div>
<form action="" method="post" class="form-horizontal form-search form-validate" id="myform">
    <h3>砍价活动设置</h3>
    <hr>
    <div class="form-group">
        <label class="col-sm-2 control-label">商城名称</label>
        <div class="col-sm-9 col-xs-12">
            <input type="text" class="form-control" placeholder="给你的砍价商城起个好听的名字吧" name="shop" maxlength="20" value="{$res['mall_name']}" required="required">
        </div>
    </div>


    <div class="form-group">
        <label class="col-sm-2 control-label">商城分享标题</label>
        <div class="col-sm-9 col-xs-12">
                <input type="text" class="form-control" placeholder="分享商城时的标题" name="mall_title" value="{$res['mall_title']}">
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">商城分享描述</label>
        <div class="col-sm-9 col-xs-12">
                <input type="text" class="form-control" placeholder="分享商城时的描述" name="mall_content" value="{$res['mall_content']}">
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">商城分享LOGO</label>
        <div class="col-sm-9 col-xs-12">
                {php echo tpl_form_field_image(mall_logo,$res['mall_logo']);}
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-9 col-xs-12" style="margin-left: 150px">
            <input type="submit" value="保存" class="btn btn-primary">
            <input type="hidden" name="token" value="{$_W['token']}"/>
        </div>
    </div>


</form>
</body>
{template '_footer'}